﻿@page "/autofills"
@inject IStringLocalizer<AutoFills> Localizer

<h3>@Localizer["Title"]</h3>
<h4>@Localizer["Description"]</h4>

<DemoBlock Title="@Localizer["NormalTitle"]" Introduction="@Localizer["NormalIntro"]"
           Name="Normal" Demo="typeof(Demos.AutoFill.AutoFillNormal)">
    <div class="mb-3">
        @((MarkupString)@Localizer["NormalDesc"].Value)
    </div>
</DemoBlock>

<DemoBlock Title="@Localizer["CustomFilterTitle"]" Introduction="@Localizer["CustomFilterIntro"]"
           Name="CustomFilter" Demo="typeof(Demos.AutoFill.AutoFillCustomFilter)">
    <div class="mb-3">@((MarkupString)Localizer["CustomFilterDesc"].Value)</div>
</DemoBlock>

<DemoBlock Title="@Localizer["ShowDropdownListOnFocusTitle"]" Introduction="@Localizer["ShowDropdownListOnFocusIntro"]"
           Name="ShowDropdownListOnFocus" Demo="typeof(Demos.AutoFill.AutoFillShowDropdownListOnFocus)">
    <div class="mb-3">
        @((MarkupString)@Localizer["ShowDropdownListOnFocusDesc"].Value)
    </div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
